package com.five.years.common;

import java.math.BigDecimal;

/**
 * @author : qinhuajun
 * @Date :2020-03-09
 */
public interface Constants {

    String deprecated = "该接口已经废弃，请对接新接口";

    String ADVERSTING_USER = "adversting_user";

    String ConstitutionTipsToday = "constitution_tips_today";

    String SEPARATE = "￥";
    String SPLIT_CHAR = ",";
    String ONES = "2";
    String TWOS = "2";
    String ELEVENS = "11";

    String FALSE = "0";
    String TRUE = "1";
    String YES = "Y";

    String NO = "N";

    Integer TRUE_INT = 1;

    Integer FALSE_INT = 0;

    String AUDIT_TEXT = "直接入库";
    String serialVersionName = "serialVersionUID";
    String HTTP_HEADER_ACCESS_TOKEN = "token";
    String HTTP_HEADER_JWT_TOKEN = "zkt"; //出于反侦察，名字不带jwt字样
    String JWT_HS256_VERSION = "1.0";

    String admin = "admin";

    String admin_text = "管理员";

    String HAO_DUO_LA = "haoduola";

    String aliyuncs = "aliyuncs";

    String API_PREFIX_PLATFORM = "platform/";

    String API_PREFIX_MULTIPLE = "multiple/";

    String API_PREFIX_CRM = "crm/";
    String UNDERLINE = "_";

    String API_PREFIX_ORDER_CENTER = "orderCenter/";
    String API_PREFIX_ORDER_INFO = "orderInfo/";
    String API_PREFIX_COUNT_ORDER_INFO = "countOrderInfo/";
    String API_PREFIX_EXCHANGE_ORDER_INFO = "exchangeOrderInfo/";
    String API_PREFIX_COUNT_EXCHANGE_ORDER_INFO = "countExchangeOrderInfo/";
    String API_PREFIX_MALL_ORDER_INFO = "mallOrderInfo/";
    String API_PREFIX_COUNT_MALL_ORDER_INFO = "countMallOrderInfo/";
    String API_PREFIX_COURSE_ORDER_INFO = "courseOrderInfo/";
    String API_PREFIX_COUNT_COURSE_ORDER_INFO = "countCourseOrderInfo/";
    String API_PREFIX_LIVE_REWARD_ORDER_INFO = "liveRewardOrderInfo/";
    String API_PREFIX_COUNT_LIVE_REWARD_ORDER_INFO = "countLiveRewardOrderInfo/";
    String API_PREFIX_PRIVATE = "private/";
    String API_PREFIX_QUERY_BATCH_USERS = "queryBatchUsers/";
    String SUCCESS = "200";
    String SPLIT_CHAR_ONE = "@";
    String SPLIT_CHAR_TWO = "￥";

    String OK = "ok";

    Integer platform_id = -1;
    Integer CAPACITY_USABLE_DAY = 30;//临时能量有效期
    String PATIENT_MEMBER_INFO_LOCKER = "patient_member_info_locker";
    Integer MEMBER_LOG_TYPE_SET = 1;//1-设定
    Integer MEMBER_LOG_TYPE_AUTO = 2;//2-升级
    Integer REPLY_TYPE_DOCTOR = 2;//医生
    Integer CONSUME_RECORD_STATUS_PAY_INIT = 1;//待收费
    Integer CONSUME_RECORD_STATUS_REFUND_INIT = 4;//待退费
    Integer CONSUME_RECORD_STATUS_PAY_FINISH = 2;//已收费
    Integer CONSUME_RECORD_STATUS_REFUND_FINISH = 3;//已退费
    Integer CHANNEL_AMOUNT_CHARGE_TYPE_STORED_CARD = 12;//储值卡
    Integer EXAM_TYPE_MEAL = 12;//套餐
    Integer PATIENT_MEAL_STATUS_NORMAL = 1;//正常
    Integer IS_REFUND_RECORD_Y = 1;//有退款记录
    Integer IS_REFUND_RECORD_N = 0;//无退款记录
    Integer IS_ALL_REFUND_RECORD_Y = 1;//所有项目都已退款
    Integer IS_ALL_REFUND_RECORD_N = 0;//非
    Integer REMIND_TYPE_BIRTH = 1;//患者生日
    Integer REMIND_TYPE_MEMBER = 2;//患者会员
    Integer REGISTER_STATUS_NOT_DIAGNOSIS = 1;//未到诊
    Integer REGISTER_SOURCE_APP = 2;//挂号来源-app
    Integer CHARGE_STATUS_NOT_PAY = 1;//1-未收费
    String USER_COMSUME_RECORD_LOCKER = "user_comsume_record_locker";
    Integer CONSUME_DETAIL_EXAM_TYPE_MEAL = 12;//套餐
    Integer CONSUME_CHANNEL_AMOUNT_TYPE_ACCOUNT_CARD = 12;//储值卡
    Integer CONSUME_RECORD_TYPE_REFUND = 12;//退款
    String CONSUME_RECORD_TYPE_REFUND_NAME = "退款";
    Integer PATIENT_MEMBER_INFO_STATUS_EXPIRED = 2;//到期
    Integer PATIENT_SET_MEAL_INFO_STATUS_EXPIRED = 2;//套餐到期
    Integer PATIENT_MEMBER_INFO_STATUS_NORM = 1;//会员正常

    Integer NEW_USER_RIGISTER_DAYS = 3; //用户注册几天为新用户

    String IS_NOT_CARED = "Y";


    /**
     * 单位为秒
     */
    interface TTL {
        int MONTH = 30 * 24 * 60 * 60;
        int DAY = 24 * 60 * 60;
        int HOUR = 1 * 60 * 60;
        int MINUTE = 1 * 60;
    }

    interface TYPE_ID {
        /**
         * 自定义
         */
        Integer SELF = 0;
        /**
         * 热门
         */
        Integer HOT = 1;
    }

    interface RedisLocker {
        String LOCKER_PREFIX = "locker_";
        String ADD_FAMILY_MEMBER = "add_family_member_";
        String BLIND_FAMILY_MEMBER = "blind_family_member_";
        String ADD_USER_AGREEMENT = "add_user_agreement_";
        String GET_HEALTH_FAMILY_MEMBER = "get_health_family_member_";
    }

    interface RedisKey {
        String TEMP_TOKEN = "temp_token_";
        String PURCHASE_CHECK = "purchase_check_";
        String register = "register_";
        String register_verify_data = "register_verify_data_";
        String TOTAL_SMS = "total_sms_";
        String SMS_IP_LIMIT_EVERYDAY = "sms_ip_limit_everyday";//每个IP每天发送短信次数限制
        String SMS_PHONE_LIMIT_EVERYDAY = "sms_ip_limit_everyday";//每个手机号码每天发送短信次数限制
        String RESET_PASSWORD = "haoduola";
        String LOGIN_EXTRUDE = "login_extrude";
        String TOPIC = "topic";
        String COMPANY_NETWORK = "company_network";
        String LATEST_APP_NAME = "latest_app_name";
        String IS_OPEN_COMPANY_DOWN = "is_open_company_down";
        String COMPANY_DOWN_RATE = "company_down_rate";

        String QUESTION_WELCOME = "question_welcome";
        String QUESTION_YES_END = "question_yes_end";
        String QUESTION_NO_END = "question_no_end";
        String QUESTION_NO_MATCH = "question_no_match";
        String QUESTION_END = "question_end";

        String RECOMMEND_HABIT_PART_IN_PERSON = "recommend_habit_part_in_person";
        String RECOMMEND_HABIT_PART_IN_PERSON_ADD_FLAG = "recommend_habit_part_in_person_add_flag_";
        String DAY_FIRST_VISIT = "day_first_visit_";
        String MEMBER_OPEN_PRICE = "member_open_price";
        String PAY_DEFAULT = "pay_default";
        String USER_FIRST_RECEIVED_COUPON = "user_first_received_coupon";
        String HEALTH_USER_AGREEMENT_COMPLETE = "health_user_agreement_complete_";
        String HEALTH_USER_AGREEMENT_NOTIFY = "health_user_agreement_notify";
        String USER_FIRST_LOGIN = "user_first_login";
        String MEMBER_OPEN_PACKAGE_PRICE = "member_open_package_price";
        String MEMBER_MATERIAL_COUNT = "member_material_count";
    }

    interface TYPES {
        //阅读
        Integer read = 1;
        //转发
        Integer forward = 2;
    }

    interface COMMENT_STATUS {
        //待审核
        Integer wait_examine = 1;
        //审核通过
        Integer examine_pass = 2;
        //已禁止
        Integer forbid = 3;
    }

    interface FROM_TYPE {
        Integer online = 0;
        Integer offline = 1;
        Integer check = 2;
        Integer return_type = 3;
    }

    interface AUDIT_MARK {
        String already_audit = "1";
        String un_audit = "0";
    }

    interface CHANGE_TYPE {
        Integer amount = 1;
        Integer rate = 2;
    }

    interface SALE_TYPE {
        Integer recipe = 0;
        Integer sale = 1;
    }

    interface PAY_SUBJECT {
        String give_banner = "赠送锦旗";
    }

    interface IS_COMPLETE {
        String yes = "0";
        String no = "1";
    }

    interface PLAY_STATUS {
        //支付完成
        String complete = "0";
        //支付失败
        String fail = "1";
        //未支付
        String unPay = "2";
    }

    interface PENNANT_PRICE {
        BigDecimal virtual_price = BigDecimal.ONE;
        BigDecimal real_price = new BigDecimal(98);
        BigDecimal virtual_test_price = new BigDecimal("0.01");
        BigDecimal real_test_price = new BigDecimal("0.01");
    }

    interface KEY_COLUMN_NAME {
        String index = "首页（大家都在问）";
        String hot = "一周热搜";
        int cjjb_id = 3;
        String cjjb_key = "KEYWORD";
        String statusOn = "1";
    }


    interface TEMPLATE {
        Integer trd_medician = 1;
        Integer west = 2;
        Integer exam = 3;
        Integer sale_medician = 3;
    }


    interface POS_NAME {
        String doctor = "医生";
    }

    interface REDIS_PRE {
        String sign = "signhdl_";
        String focus_clinic = "clinic";
        String focus_doctor = "doctor";
        String focus = "focus_";
        String appoint = "appoint_";
    }

    interface CAPACITY_CONFIG {
        String clinic_num = "clinic_num";
        String doctor_num = "doctor_num";
        String clinic_capacity = "clinic_capacity";
        String doctor_capacity = "doctor_capacity";
    }

    interface REDIS_CONFIG {
        String reset_password_pre = "haoduola";
        String SALE_MEDICINE = "sale";
        String INQUIRY_RECIPE = "inquiry";
    }


    interface DEPLOY_ENV {
        String LOCAL = "local";
        String TEST = "test";
        String PRO = "pro";
    }

    interface ALIPAY_CONFIG {
        String format_json = "json";
        String charset_uft8 = "utf-8";
        String signtype = "RSA2";
        String encryptType = "AES";
    }

    interface TIME_CONFIG {
        Integer seven_day_second = 604800;
        Integer one_day_second = 86400;
        String HH_mm_ss = "HH:mm:ss";
        String end_time = "23:59:59";
        String yyy_MM_dd = "yyyy-MM-dd";
    }

    interface IMG_CONFIG {
        String img_separate = ",";
    }

    interface URL_PATH {
        String signup_path = "signin/signup";
        String SIGN_UP_NO_CONFIG_MSG = "signin/signupnoneconfig";
        String alteruserbyphone_path = "signin/alteruserbyphone";
        String signin_path = "signin/user";
        String config_phone_path = "signin/configphone";
        String capacity_update = "consult/capacity/increase";
        String banner_payid = "consult/internal/getPayId";
        String banner_success = "consult/internal/giveBannerPaySuccess";
        String get_user_id = "signin/getuserid";
        String GET_USER_ID = "private/getId/";
        String GET_USER_INFO = "private/getUserInfo/";
    }

    interface BEHAVIOUR {
        Byte focus_clinic = 13;
        Byte focus_doctor = 14;
        String clinic_tips = "收藏诊所奖励";
        String doctor_tips = "关注医生奖励";
    }

    interface RETUENID {
        String return_id = "ID:";
    }

    interface PLATFORM_USER {
        String USER_TYPE_LDAP = "0";
        String USER_TYPE_NORMAL = "1";

        String SUPERADMIN = "superadmin";
        String ADMIN = "admin";

        Boolean isSuperAdmin = true;
    }

    interface CRM_USER {
        String USER_TYPE_LDAP = "0";
        String USER_TYPE_NORMAL = "1";

        String SUPERADMIN = "superadmin";
        String ADMIN = "admin";
        String CRM_USER = "CRM_";
        Boolean isSuperAdmin = true;

        String TOKEN_ROLE_ID = "\"roleId\":";
    }

    interface INTERNATIONAL_TYPE {
        String EN = "en-US";
        String CN = "zh-CN";
    }

    interface Page {
        String REQ_PARAM_PAGE_NO = "queryPageNo";
        String REQ_PARAM_PAGE_SIZE = "queryPageSize";
        int MAX_PAGE_SIZE = 100;
        int DEFAULT_SIZE = 20;//默认一页10条数据
        int DEFAULT_CURRENT_PAGE = 1;//默认第一页
    }

    interface temp {
        String my_subordinate = "我的下级";
        String tempProvince = "省级合伙人";
        String tempCity = "市级合伙人";
        String tempMarket = "市场合伙人";

        String share = "项目分成";

        Integer province = 1;
        Integer city = 2;
        Integer market = 3;

        String my_agreement = "我的协议";
    }

    interface Regular {
        String PATTERN_PHONE = "^[1][3,4,5,6,7,8,9][0-9]{9}$";
    }

    interface MERCHANT_STATUS {
        /**
         * 未入驻
         */
        Integer UNDATA = 0;
        /**
         * 正常
         */
        Integer NORMAL = 1;

        /**
         * 待审核
         */
        Integer TO_BE_REVIEWED = 2;

        /**
         * 驳回
         */
        Integer REJECT = 3;
    }

    interface ITEM_TYPE {
        /**
         * 诊所
         */
        Integer CLINIC = 1;
        /**
         * 直播
         */
        Integer VIDEO = 2;
        /**
         * 商城
         */
        Integer MALL = 3;
        /**
         * 广告商
         */
        Integer ADVERTISEMENT = 4;
        /**
         * 合伙人
         */
        Integer AGENT = 5;

        /**
         * 实名认证
         */
        Integer AUTH = 6;

        /**
         * 兑换
         */
        Integer EXCHANGE = 7;

        /**
         * 锦旗
         */
        Integer SILK = 8;
    }

    interface AGENT_SHARE_RATE {
        BigDecimal CLINIC_PROVINCE_RATE = new BigDecimal("0.03");
        BigDecimal CLINIC_CITY_RATE = new BigDecimal("0.05");
        BigDecimal CLINIC_MARKET_RATE = new BigDecimal("0.01");

        BigDecimal CLINIC_PROVINCE_SHARE_RATE = new BigDecimal("0.03");
        BigDecimal CLINIC_CITY_SHARE_RATE = new BigDecimal("0.05");

        BigDecimal VIDEO_PROVINCE_RATE = new BigDecimal("0.03");
        BigDecimal VIDEO_CITY_RATE = new BigDecimal("0.05");
        BigDecimal VIDEO_MARKET_RATE = new BigDecimal("0.01");

        BigDecimal MALL_PROVINCE_RATE = new BigDecimal("0.03");
        BigDecimal MALL_CITY_RATE = new BigDecimal("0.05");
        BigDecimal MALL_MARKET_RATE = new BigDecimal("0.01");

        BigDecimal RECOMMEND_CLINIC_RATE = new BigDecimal("0.01");
        BigDecimal RECOMMEND_TUTOR_RATE = new BigDecimal("0.01");
        BigDecimal RECOMMEND_BUSINESS_RATE = new BigDecimal("0.01");
        BigDecimal RECOMMEND_ADVERTISEMENT_RATE = new BigDecimal("0.005");
        BigDecimal RECOMMEND_AGENT_RATE = new BigDecimal("0.005");
    }

    interface PLATFORM_SHARE_RATE {
        BigDecimal CLINIC_RATE = new BigDecimal("0.2");
        BigDecimal VIDEO_RATE = new BigDecimal("0.25");
        BigDecimal AD_RATE = new BigDecimal("0.80");
        BigDecimal MALL_RATE = new BigDecimal("0.30");
    }

    interface AGENT_STATUS {
        Integer ENABLE = 1;
        Integer DISABLE = 2;
    }

    interface MongoTables {
        String AGENT_LOGIN_RECORD = "agent_login_record";
        String USER_TOPIC_RECORD = "user_topic_record";

        String PLATFORM_LOGIN_RECORD = "platform_login_record";
        String CRM_LOGIN_RECORD = "crm_login_record";

        String ALL_PUSH_ = "all_push_";
    }

    interface API_VERSION {
        String BASE = "1.0.0";
        String tes = "2.00";
    }

    interface ActivityMedicineIdentification {
        String QUESTION = "ActivityMedicineIdentification_Question_Date_";
        String UNDERLINE = "_";
        String ASTERISK = "*";
        String RIGHT_ANSWER_MARK = "Y";
    }

    interface ActivityMedicineIdentificationUserAnswer {
        String USERANSWER = "ActivityMedicineIdentification_UserAnswer";
        String USERKEY = "userId_";
        Long ENERGY = 5L;
        Byte ACTION = 17;
        Byte ACTION_SHARE_FRIEND = 19;
        Integer usableDay = 60;
        Long ENERGY_ZERO = 0L;
        String TIP_ANSWER = "答题获取能量";
        String TIP_SHARE_FRIENDS = "考考好友获取能量";
        String TIP_DRAW = "抽奖获取能量";
    }

    interface ActivityAward {
        String PROB = "ActivityAwardProb";
        String PROB_SPAN = "ActivityAwardProbSpan";
        String PROB_INDEX_AWARD = "ActivityAwardProbIndex";
        String AWARD_AMOUNT = "ActivityAwardAmount";
        String DRAW_SWITCH = "ActivityAwardDrawSwitch";
        String DRAW_SWITCH_OPEN = "1";
        String DRAW_SWITCH_CLOSED = "0";
        String AWARD_NO_WIN_TIPS = "ActivityAwardNoWinLotteryTips";
        String AWARD_WIN_TIPS_PREFIX = "ActivityAwardWinLotteryTips_";
        int NO_SPAN_FIND = -1;
        String LATEST_WIN_AWARD_LIST = "ActivityAwardLatestWinList";
        String MY_WIN_AWARD_LIST = "ActivityAwardMyWinList_";
        String AWARD_FREE_TIMES = "ActivityAwardFreeTimes_";
        String AWARD_HERB_EXCHANGE_TIMES = "ActivityAwardHerbExchangeTimes_";
        String AWARD_POOL = "ActivityAwardPool";
        int AWARD_TYPE_ENERGY = 1;
        int AWARD_TYPE_HERB = 2;
        int AWARD_TYPE_MONEY = 5;
        int AWARD_GRADE = 1;
        int AWARD_TYPE = 2;
        String NO_WIN_STATUS_TEXT = "未中奖";
        String WIN_STATUS_TEXT = "已中奖";
        String CURRENT_USER_DRAW = "ActivityAwardDraw";
        String CURRENT_BEGIN_DRAW = "ActivityAwardBeginDraw";
        String CURRENT_END_DRAW = "ActivityAwardEndDraw";
        String AWARD_HISTORY_LOCK = "ActivityAwardHistoryLock";
        String DIST_STATUS_TEXT = "已发放";
        String NO_ADDRESS_TEXT = "填收货信息";
        String SEND_STATUS_TEXT = "查看物流";
        String SHOW_TEXT = "炫耀一下";
        String RECORD_USER_NO_DRAW = "ActivityAwardNoWin_";
        long USER_NO_DRAW_LIMIT = 3;
        String AWARD_DEFAULT_POOL = "ActivityAwardDefault";
        String ZERO = "0";
        /**
         * 分享者获得次数
         */
        String AWARD_SHARER_TIMES = "ActivityAwardSharerTimes_";
        /**
         * 助力者获得次数
         */
        String AWARD_HELPERS_TIMES = "ActivityAwardHelpersTimes_";

        int partiAward = 3;

        int materialAward = 4;

        String partiAwardName = "谢谢参与";

        Long DAILY_FREE_TIMES = 1L;

        String USER_DRAW_HISTORY = "ActivityAwardUserDrawHistory_";

        String USER_ALREADY_USE_CHANCE = "ActivityAwardAlreadyUseGiveChance_";

        String STATUS_1 = "1";

        String STATUS_0 = "0";

        Byte ACTION = 18;

        Integer usableDay = 60;

        String TIP_DRAW = "抽奖获取能量";

        String PARTI_TEXT = "参与";

        String MATERIAL_TEXT = "实物";

        String sharerCounterPointer = "ActivityAwardSharerCounterPointer_";

        /**
         * 抽奖奖励仙草
         */
        Integer awardGrass = 42;

    }

    interface ActivityMedicineIdentificationLock {
        String NAME = "_MedicineIdentificationQuestion_";
    }

    interface WITHDRAWAL_STATUS {
        /**
         * 申请中
         */
        Integer IN_APPLY = 1;

        /**
         * 审核通过
         */
        Integer PASS = 2;

        /**
         * 被驳回
         */
        Integer REJECT = 3;

        /**
         * 已打款
         */
        Integer PAYMENT = 4;
    }

    interface PROFIT_TYPE {

        /**
         * 项目
         */
        Integer PROJECT = 1;

        /**
         * 推荐
         */
        Integer RECOMMEND = 2;
    }

    interface PROFIT_DATE_TYPE {

        Integer day = 1;

        Integer month = 2;

        Integer year = 3;

        Integer total = 4;

    }

    interface ACTIVITY {

        String WKJ = "未开启";

        String KJ = "开启";

        String JS = "结束";

        String JPBZ = "奖品不足";

        int init = 1;

        int noInit = 2;

        int TOTAL_SUM = 8;

        /**
         * 抽奖lock
         */
        String drawLockKey = "_drawLockKey_";

        /**
         * 助力者lock
         */
        String shareLockKey = "_shareLockKey_";

        /**
         * 分享者lock
         */
        String sharerCounterLockKey = "_sharerCounterLockKey_";

        /**
         * 分享者被助力次数
         */

        /*String sharerCounterPointer="sharerCounterPointer";*/

        Integer activity_on = 1;

        Integer activity_latest = 2;

        int isDefault = 2;

        int isNotDefault = 1;

        BigDecimal thousand = new BigDecimal("1000");

        int span_max = 100000;

        int MAX_SHARER = 3;//分享者被助力,达到此值后,送一次

        int MAX_DAYILY_HELP = 3;//助力者每天能帮的次数

        String activityUpdateProbLockKey = "_activityUpdatePropLockKey";
    }


    interface LOGIN {
        String WECHAT_MINI = "wechat_mini_";
        String APP = "app_";
        String CLINIC = "clinic_";
        String SAAS = "saas_";
    }

    interface DOWN_CONFIG {
        String check_url = "https://file2.hdl100.cn/healthCheck";

        String oss_url = "https://hdlappdownload.oss-cn-hangzhou.aliyuncs.com/apps/";
        String company_url = "https://file2.hdl100.cn/app/";

        Integer android = 1;
    }

    interface EXPRESS_STATUS {
        /**
         * 待发货
         */
        Integer wait_send = 1;

        /**
         * 已发货
         */
        Integer already_send = 2;
    }

    interface DRAW_STATUS {

        /**
         * 已发放
         */
        Integer issued = 1;

        /**
         * 无收货信息
         */
        Integer no_address = 2;

        /**
         * 炫耀一下
         */
        Integer show = 3;
    }

    interface MODULAR_NAME {
        String luck_1 = "抽奖开始";
        String luck_2 = "抽奖机会";
        String luck_3 = "立即邀请";

        String click_more_1 = "附近医馆";

        String medicine_1 = "领取奖励";
        String medicine_2 = "考考好友";
        String medicine_3 = "答题";
    }

    interface QUESTION {
        String welcomeSentence = "Hi，好粉！我是您的专属顾问，很高兴为您服务，我猜您想问~";
        String endSentence = "没猜对？请输入您的问题，我将竭诚为您服务~";
        String endYesSentence = "很高兴为您解决了问题";
        String endNoSentence = "很抱歉没有解决您的问题，您可以关注公众号咨询人工客服，人工客服在线时间为周一至周五9:00-18:00，如果是非工作时间，客服看到后会第一时间回复，咨询人数较多，请耐心等待回复~";
        String noMatch = "很抱歉，当前问题无法为您解答，您可以关注公众号咨询人工客服，人工客服在线时间为周一至周五9:00-18:00，非工作时间提问，客服上班后会第一时间回复，咨询人数较多，请耐心等待回复~";
    }

    interface DEFAULT_INFO {
        Integer HAODUOLA_CLINIC_ID = 38;
        Integer DOCTOR_ROLE_ID = 2;
        Integer MANAGER_ROLE_ID = 1;
    }

    interface QUESTION_TYPE {
        /**
         * 系统-文本
         */
        Integer LEFT_TEXT = 1;
        /**
         * 用户-文本
         */
        Integer RIGHT_TEXT = 2;
        /**
         * 系统-问题列表
         */
        Integer LEFT_QUESTION_LIST = 3;
        /**
         * 系统-分类列表
         */
        Integer LEFT_CATEGORY_LIST = 4;
        /**
         * 系统-问题详情
         */
        Integer QUESTION_DETAIL = 5;
    }

    interface LUCK_DRAW {
        /***
         * 无门槛抽奖
         */
        Integer noThreshold = 1;

        /**
         * 看广告抽奖
         */
        Integer advertisement = 2;
    }

    interface IS_SUPPORT_DOUBLE {
        Integer no = 1;

        Integer yes = 2;
    }

    interface MILLION_DOCTOR {
        String MILLION_DOCTOR_OPEN = "activity_million_doctor";
        Integer INVITE_DOCTOR_NUM = 5;
        Integer UPLOAD_VIDEO_NUM = 5;
        Integer UPLOAD_ILL_RECORD_NUM = 5;
        BigDecimal ILL_RECORD_AWARD = new BigDecimal(50);
        BigDecimal VODEO_RECORD_AWARD = new BigDecimal(40);
    }

    interface JUMP_TYPE {

        /**
         * 内部模块
         */
        Integer inside = 1;

        /**
         * 外部模块
         */
        Integer outside = 2;

        /**
         * 约定
         */
        Integer agreement = 3;


    }

    interface PUSH_TYPE {

        /**
         * 立即推送
         */
        Integer immediately = 1;

        /**
         * 定时推送
         */
        Integer timing = 2;
    }

    interface PUSH_CHANNEL {
        /**
         * APP
         */
        Integer APP = 1;

        /**
         * 微信
         */
        Integer WECHAT = 2;

        /**
         * 全部
         */
        Integer ALL = 3;
    }

    interface pushType {
        /**
         * 广播
         */
        Integer broadcast = 1;

        /**
         * 单播
         */
        Integer unicast = 2;
    }

    interface platformType {
        Integer android = 1;
        Integer ios = 2;
        Integer wechat = 3;
    }

    interface sceneType {
        /**
         * 提现成功
         */
        Integer withdrawal = 1;
        String withdrawalTitle = "提现成功";
        String withdrawalContent = "您的提现已到账，赶紧去看看吧";

        /**
         * 入驻成功
         */
        Integer enter = 2;
        String enterTitle = "入驻成功";
        String enterContent = "您的入驻申请已通过，赶快登录开启新的旅程吧";

        /**
         * 养生PK
         */
        Integer pk = 3;
        String pkTitle = "养生PK";
        String pkContent = "快来PK一下看哪种方式更合适吧";

        /**
         * 抽奖
         */
        Integer luckDraw = 4;
        String luckDrawTitle = "抽奖";
        String luckDrawContent = "您今天还有一次抽奖机会没用完，点此打开使用吧";

        /**
         * 签到
         */
        Integer sign = 5;
        String signTitle = "签到";
        String signContent1 = "签到可获得能量哦，能量越多领的仙草越多，赶紧签到挣能量吧";
        String signContent2 = "您已连续签到6天，再坚持一天可拿35能量哦";

        String medicineTitle = "每日识药";
        String medicineContent = "您今天还有一次抽奖机会没用完，点此打开使用吧";

    }

    interface ConstitutionType {
        String constitution_test = "九大体质测试";


        String health = "平和体质";

        Integer score60 = 60;

        Integer score40 = 40;

        Integer score30 = 30;
        String MILD_STR = "平和体质";
        Integer MILD = 1;
        String QI_DEFICIENCY_STR = "气虚体质";
        Integer QI_DEFICIENCY = 2;
        String YANG_DEFICIENCY_STR = "阳虚体质";
        Integer YANG_DEFICIENCY = 3;
        String YIN_DEFICIENCY_STR = "阴虚体质";
        Integer YIN_DEFICIENCY = 4;
        String PHLEGM_DAMP_STR = "痰湿体质";
        Integer PHLEGM_DAMP = 5;
        String MUGGY_STR = "湿热体质";
        Integer MUGGY = 6;
        String BLOOD_STASIS_STR = "血瘀体质";
        Integer BLOOD_STASIS = 7;
        String QI_STASIS_STR = "气郁体质";
        Integer QI_STASIS = 8;
        String SPECIAL_STR = "特禀体质";
        Integer SPECIAL = 9;
    }

    interface constitutionStatistics {
        Integer age20 = 20;
        Integer age30 = 30;
        Integer age40 = 40;
        Integer age50 = 50;
        Integer age60 = 60;

        String age20Text = "20岁以下";
        String age30Text = "21-30岁";
        String age40Text = "31-40岁";
        String age50Text = "40-49岁";
        String age60Text = "50-59岁";
        String ageMore60Text = "60岁以上";

        BigDecimal bmiOne = new BigDecimal("18.4");
        BigDecimal bmiTwo = new BigDecimal("23.9");
        BigDecimal bmiThree = new BigDecimal("27.9");
        BigDecimal bmiFour = new BigDecimal("28.0");

        String bmiOneText = "偏瘦，BMI≤18.4";
        String bmiTwoText = "正常，18.5≤BMI≤23.9";
        String bmiThreeText = "过重，24.0≤BMI≤27.9";
        String bmiFourText = "肥胖，≥28.0";
    }


    interface RecipeType {
        Integer HANDLE_WRITE = 2; //手写
        Integer FACE_WRITE = 3;//面诊手写
    }

    interface PayCode {
        Boolean INCOME = true; //收入
        Boolean CONSUME = false;//消费
        Integer PAY_SUCCESS = 2;//支付完成
        Integer MEMBER_CARD = 0;//会员卡消费
        Integer CASH = 1;//现金
    }

    interface accountType {

        /**
         * 充值
         */
        Integer recharge = 1;

        /**
         * 消费
         */
        Integer consume = 2;

        /**
         * 储值退款
         */
        Integer refund = 3;

        /**
         * 消费退款充值
         */
        Integer consumeRefund = 4;

    }

    interface isComeIn {
        /**
         * 收入
         */
        Integer income = 1;

        /**
         * 支出
         */
        Integer pay = 0;
    }

    interface chargeType {

        /**
         * 现金
         */
        Integer cash = 1;

        /**
         * 储值卡
         */
        Integer card = 2;

        /**
         * 微信
         */
        Integer wechat = 3;

        /**
         * 支付宝
         */
        Integer alipay = 4;

        /**
         * 银行卡
         */
        Integer bankCard = 5;

    }

    interface Capacity {
        Long DOCTOR_INVITE_CAPACITY = 1500L;//医生入驻的邀请奖励
        Long CLINIC_INVITE_CAPACITY = 5000L;//诊所入驻的邀请奖励
        Integer DOCTOR_OR_CLINIC_INVITE_CAPACITY_DAYS = 365;//诊所或医生入驻的能量时效
        Byte INVITE_TYPE = 1;//邀请
        String INVITE_DOCTOR_TIPS = "邀请医生入驻奖励";
        String INVITE_CLINIC_TIPS = "邀请诊所入驻奖励";
    }

    interface InviteDoctorOrClinic {
        String INVITE_ACTIVITY = "activity__doctor_or_clinic";
    }

    interface scoreType {
        Integer is = 1;

        Integer basically = 2;

        Integer prefer = 3;
    }


    interface HealthClock {
        //        1-膳食推荐，2-运动推荐，3-理疗推荐，4-情致调摄，5-起居习惯，6-养生禁忌
//        0-不限，1-上午，2-下午,3-早餐，4-午餐，5-加餐，6-晚餐
        Integer FOOD = 1;
        Integer SPORT = 2;
        Integer MEDICAL = 3;
        Integer SPIRIT = 4;
        Integer LIFE = 5;
        Integer TABOO = 6;
        Integer UNLIMITED = 0;
        Integer FORENOON = 1;
        Integer AFTERNOON = 2;
        Integer BREAKFAST = 3;
        Integer LUNCH = 4;
        Integer EXTRA_MEAL = 6;
        Integer DINNER = 5;
        String HEALTH_CLOCK = "health_clock";
        String HEALTH_NUMBER = "health_number_";
        String HEALTH_CLOCK_BACK_IMG = "health_clock_back_img";
    }

    interface Week {
        String MONDAY_STR = "周一";
        int MONDAY = 1;
        String TUESDAY_STR = "周二";
        int TUESDAY = 2;
        String WEDNESDAY_STR = "周三";
        int WEDNESDAY = 3;
        String THURSDAY_STR = "周四";
        int THURSDAY = 4;
        String FRIDAY_STR = "周五";
        int FRIDAY = 5;
        String SATURDAY_STR = "周六";
        int SATURDAY = 6;
        String SUNDAY_STR = "周日";
        int SUNDAY = 7;
    }

    interface Number {
        int ZERO = 0;
        int ONE = 1;
        int TWO = 2;
        int THREE = 3;
        int FOUR = 4;
        int FIVE = 5;
        int SIX = 6;
        int SEVEN = 7;
        int EIGHT = 8;
        int NINE = 9;
        int TEN = 10;
        int TWELVE = 12;
        int THIRTEEN = 13;
        int SIXTEEN = 16;
        int THIRTY = 30;
        int ONE_BELOW = -1;
        int TWO_BELOW = -2;
        int THREE_BELOW = -3;
        int FOUR_BELOW = -4;
        int FIVE_BELOW = -5;
        int SIX_BELOW = -6;
        int SEVEN_BELOW = -7;
        int SIXTY = 60;
        Double ONE_DOUBLE = 1.0d;
        Double ZERO_DOUBLE = 0.0d;
        Integer ONE_PACKAGE = 1;
        Integer TWO_PACKAGE = 2;
        Integer FIVE_PACKAGE = 5;
        Integer TEN_PACKAGE = 10;
        Integer THREE_PACKAGE = 3;
        Integer FOUR_PACKAGE = 4;
        Integer SIX_PACKAGE = 6;
        Integer SEVEN_PACKAGE = 7;
        Integer EIGHT_PACKAGE = 8;
        Integer NINE_PACKAGE = 9;
        Integer ZERO_PACKAGE = 0;
        Integer ELEVEN = 11;
        Integer MINUS_ONE = -1;
    }

    interface problemType {

        Integer one = 1;
        String oneText = "闪退";

        Integer two = 2;
        String twoText = "卡顿";

        Integer three = 3;
        String threeText = "黑屏/白屏";

        Integer four = 4;
        String fourText = "内容太少，没有想要的";

        Integer five = 5;
        String fiveText = "界面显示异常";

        Integer six = 6;
        String sixText = "其它";

    }

    interface habitType {
        /**
         * 服药
         */
        Integer medication = 1;

        /**
         * 测量身体数据
         */
        Integer bodyData = 2;

        /**
         * 饮食
         */
        Integer food = 3;

        /**
         * 运动
         */
        Integer motion = 4;

        /**
         * 自定义
         */
        Integer self = 5;
    }

    interface remindFrequency {
        /**
         * 每天
         */
        Integer day = 1;

        /**
         * 每N天
         */
        Integer nDay = 2;

        /**
         * 按星期
         */
        Integer week = 3;

        /**
         * 按月
         */
        Integer month = 4;
    }

    interface status {
        /**
         * 上架
         */
        Integer on = 1;

        /**
         * 下架
         */
        Integer off = 2;
    }

    interface SHOW_TYPE {

        /**
         * 视频
         */
        Integer video = 1;

        /**
         * 音频
         */
        Integer audio = 2;

        /**
         * 动作拆分
         */
        Integer action = 3;

        /**
         * 文字
         */
        Integer characters = 4;

        /**
         * 服药
         */
        Integer medication = 5;

        /**
         * 测量身体数据
         */
        Integer bodyData = 6;

        /**
         * 自定义
         */
        Integer self = 7;

        /**
         * 图文
         */
        Integer pic = 8;

        /**
         * 文章
         */
        Integer article = 9;

        /**
         * 备忘录
         */
        Integer memorandum = 10;
    }

    interface HABIT_CATEGORY {

        /**
         * 饮食
         */
        Integer diet = 1;

        /**
         * 运动
         */
        Integer sports = 2;

        /**
         * 健康
         */
        Integer healthy = 3;

        /**
         * 日常
         */
        Integer daily = 4;

        /**
         * 情感
         */
        Integer emotion = 5;

    }

    interface ROLE_TYPE {

        /**
         * 管理员
         */
        String admin = "1";

        /**
         * 成员
         */
        String family = "2";

        /**
         * 陪护
         */
        String escort = "3";
    }

    interface LEVEL_VALUE {
        Integer level1 = 1;
        Integer level2 = 2;
        Integer level3 = 3;
        Integer level4 = 4;
        Integer level5 = 5;
        Integer level6 = 6;
        Integer level7 = 7;
        Integer level8 = 8;
        Integer level9 = 9;
        Integer level10 = 10;
    }

    interface MEDAL_TYPE {
        /**
         * 成就勋章
         */
        Integer achievement = 1;

        /**
         * 纪念勋章
         */
        Integer anniversary = 2;

        /**
         * 绝版勋章
         */
        Integer discontinued = 3;
    }

    interface HABIT_TIME_TYPE {
        Integer morning = 1;

        Integer afternoon = 2;

        Integer night = 3;

    }

    interface COLLECT_TYPE {
        /**
         * 习惯
         */
        Integer habit = 1;

        /**
         * 头条
         */
        Integer information = 2;

    }

    interface COLLECT_HABIT_TYPE {
        /**
         * 自主习惯
         */
        Integer self_habit = 1;

        /**
         * 推荐习惯
         */
        Integer recommend_habit = 2;

        /**
         * 体质类型
         */
        Integer constitution = 3;

    }

    interface HABIT_STATUS {

        Integer un_start = 1;

        Integer ing = 2;

        Integer end = 3;

    }

    interface completeStatus {
        Integer good = 1;

        Integer general = 2;

        Integer poor = 3;
    }

    interface QUESTIONNAIRE_PUSH_TYPE {
        /**
         * 初始
         */
        Integer one = 1;

        /**
         * 打卡每满14天
         */
        Integer two = 2;

        /**
         * 按测试结果
         */
        Integer three = 3;
    }

    interface QUESTIONNAIRE_QUESTION_TYPE {
        /**
         * 选择题
         */
        Integer one = 1;

        /**
         * 判断题
         */
        Integer two = 2;
    }

    interface ACHIEVEMENT_MEDAL_TYPE {
        /**
         * 健康达人
         */
        Integer health = 1;

        /**
         * 约定达人
         */
        Integer agreement = 2;

        /**
         * 送花达人
         */
        Integer flower = 3;

        /**
         * 陪伴达人
         */
        Integer accompany = 4;

        /**
         * 推荐达人
         */
        Integer recommend = 5;

        /**
         * 签到达人
         */
        Integer sign = 6;

        /**
         * 分享
         */
        Integer share = 7;

    }

    interface AGREEMENT_STATUS {

        /**
         * 未开始
         */
        Integer un_start = 1;

        /**
         * 进行中
         */
        Integer ing = 2;

        /**
         * 失败
         */
        Integer fail = 3;

        /**
         * 完成
         */
        Integer complete = 4;

    }

    interface REPORT_QUERY_TYPE {

        /**
         * 日
         */
        Integer day = 1;

        /**
         * 周
         */
        Integer week = 2;

        /**
         * 月
         */
        Integer month = 3;

        /**
         * 汇总
         */
        Integer total = 4;

    }

    interface HABIT_SOURCE {

        /**
         * 自主习惯
         */
        Integer self = 1;

        /**
         * 推荐习惯
         */
        Integer recommend = 2;

        /**
         * 文章资讯
         */
        Integer article = 3;

        /**
         * 约定
         */
        Integer agreement = 4;

        /**
         * 备忘录
         */
        Integer memorandum = 5;

        /**
         * 体质调养
         */
        Integer physique = 6;

    }

    interface GROUP_PUSH_TYPE {

        /**
         * 随机
         */
        Integer random = 1;

        /**
         * 顺序
         */
        Integer order = 2;

    }

    interface QUESTION_ANSWER {

        Integer yes = 1;

        Integer no = 2;

    }

    interface HABIT_PUSH_TYPE {

        /**
         * 随机
         */
        Integer random = 1;

        /**
         * 顺序
         */
        Integer order = 2;

    }

    interface moduleId {
        /**
         * 资讯模块
         */
        String information = "1";

        /**
         * 公告
         */
        String notice = "2";

        /**
         * 抽奖
         */
        String luck = "3";

        /**
         * 提现
         */
        String withdrawal = "4";

        /**
         * 入驻
         */
        String enter = "5";

        /**
         * 养生pk
         */
        String pk = "6";

        /**
         * 签到
         */
        String sign = "7";

        /**
         * 采集
         */
        String minerals = "8";

        /**
         * 每日识药
         */
        String medicine = "9";

        /**
         * 习惯
         */
        String habit = "10";

        /**
         * 医嘱
         */
        String memorandum = "11";

        /**
         * 约定
         */
        String agreement = "12";

    }
}
